var qudao = '';
var url = window.location.href;
var startIndex = url.indexOf("q=");
if(startIndex != -1){
	if(url.indexOf("&") != -1){
		qudao = url.substring(startIndex+2,url.indexOf("&"));
	}else if(url.indexOf("#") != -1){
		qudao = url.substring(startIndex+2,url.indexOf("#"));
	}else{
		qudao = url.substring(startIndex+2);
	}
}
$(function(){
	$('.linkBtn').click(function(){
		var linkBtn = $(this).attr('data');
		if(null != qudao && qudao.trim().length > 0){
			window.location.href = linkBtn+'?q='+qudao;
		}else{
			window.location.href = linkBtn;
		}
	});
})